﻿@model SklepISI.Core.Models.CategoryModel

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "AddCategory";
}

<div class="span5">
<form class="form-horizontal well" action="AddCategory" method="post">
    <legend>Nowa kategoria</legend>
    <div class="control-group">
        @Html.LabelFor(model => model.Name, "Nazwa")
        @Html.EditorFor(model => model.Name)
        @Html.ValidationMessageFor(model => model.Name)
    </div>
    <div class="control-group">
        @Html.ActionLink("Anuluj", "ListCategories", null, new{@class="btn"})
        <input class="btn btn-large btn-primary" type="submit" value="Dodaj" style="margin-left:65px" />    
    </div>
</form>
</div>



